import time

from selenium import webdriver
from selenium.webdriver.common.by import By

url = "https://teacher.bupt.edu.cn/wangguangyu/zh_CN/index.htm"

driver = webdriver.Edge()
driver.get(url)
time.sleep(2)
img = driver.find_element(By.XPATH, '//div[@class="img"]/span/img')
src = img.get_attribute('src')
print(src)
driver.close()